import request from '@/utils/request'

// 查询财务收入支出统计列表
export function listJyjcSharingExpensesSum(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/list',
    method: 'get',
    params: query
  })
}
// 查询系统整体财务总体收入支出统计列表
export function alllistJyjcSharingExpensesSum(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/alllist',
    method: 'get',
    params: query
  })
}
// 查询系统整体财务总体收入支出统计列表
export function alllSumlist(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/allsumlist',
    method: 'get',
    params: query
  })
}
// 查询部门合计财务收入支出统计列表
export function deptlistJyjcSharingExpensesSum(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/deptlist',
    method: 'get',
    params: query
  })
}
// 查询导入财务收入支出统计列表
export function importlistJyjcSharingExpensesSum(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/importalllist',
    method: 'get',
    params: query
  })
}
// 查询财务收入支出统计列表
export function importlistJyjcSharingExpensesSumsd(query) {
  return request({
    url: '/system/JyjcSharingExpensesSum/importalllistsd',
    method: 'get',
    params: query
  })
}
// 查询财务收入支出统计详细
export function getJyjcSharingExpensesSum(deptname) {
  return request({
    url: '/system/JyjcSharingExpensesSum/' + deptname,
    method: 'get'
  })
}

// 新增财务收入支出统计
export function addJyjcSharingExpensesSum(data) {
  return request({
    url: '/system/JyjcSharingExpensesSum',
    method: 'post',
    data: data
  })
}

// 修改财务收入支出统计
export function updateJyjcSharingExpensesSum(data) {
  return request({
    url: '/system/JyjcSharingExpensesSum',
    method: 'put',
    data: data
  })
}

// 删除财务收入支出统计
export function delJyjcSharingExpensesSum(deptname) {
  return request({
    url: '/system/JyjcSharingExpensesSum/' + deptname,
    method: 'delete'
  })
}
